
package nothing.dao.hibernate;

import nothing.model.Step;
import nothing.dao.StepDao;
import org.appfuse.dao.hibernate.GenericDaoHibernate;

import java.util.List;

public class StepDaoHibernate extends GenericDaoHibernate<Step, Long> implements StepDao {

    public StepDaoHibernate() {
        super(Step.class);
    }

	public List<Step> findByDecription(String description) {
		
        return getHibernateTemplate().find("from Step where description=?", description);
	}
}


